package DBLayer;

import java.util.List;

import modelLayer.Product;

public interface IFDBProduct {
	
	public List<Product> getAllProducts(boolean retriveAssociation);
	
	//return a Product with ProductID
	public Product findProduct(String ProductID, boolean retriveAssociation);
		
		
		//Insert new Product
		public int insertProduct(Product po, boolean retriveAssociation) throws Exception;
		
		//update a Product
		public int updateProduct(Product po, boolean retriveAssociation);
		
		
		//delete a Product
		public int deleteProduct(String ProductID, boolean retriveAssociation);
}
